<template>
  <div class="complaint-info">
    <el-scrollbar class="scroll-wrapper">
      <div class="content">
        <enter-base-msg :pageMsg="comInfo"></enter-base-msg>
      </div>
    </el-scrollbar>
  </div>
</template>

<script>
import EnterBaseMsg from './EnterBaseMsg.vue'
export default {
  components: { EnterBaseMsg },
  props: {
    comInfo: {
      type: Object,
      default: () => {},
    },
  },
  data() {
    return {
      // USER_TYPE_PERSON: BBCS_MSG_USER_TYPE.person,
    }
  },
  computed: {},
  filters: {},
  created() {},
  methods: {
    exportData() {
      // exportComplaintItem(this.comInfo.id)
    },
    renderProblemType(val) {
      const type = this.problemTypes.find(item => item.code === val)
      if (type) {
        return type.name
      }
      return '-'
    },
  },
}
</script>

<style lang="scss" scoped>
@import '@styles/detailsTable.scss';
.complaint-info {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  .scroll-wrapper {
    flex: 1;
  }
  .content {
    padding: 20px;

    .section-title {
      font-size: 16px;
      color: #333;
      font-weight: bold;
      padding: 10px;
      background: #f0f4f9;
      margin-bottom: 15px;
    }
  }
}
</style>
